﻿IF (WIN32)
		if(MSVC)
				OPTION(USE_MP "use multiple" ON)
				OPTION(ProjectConfig_Global_COMPILE_FLAGS_WITH_MP 
					"Set The Global Option COMPILE_FLAGS /MP to target." ON)
				if(ProjectConfig_Global_COMPILE_FLAGS_WITH_MP OR USE_MP)
					set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
					set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
				endif()
				set(VS_STARTUP_PROJECT ${PROJECT_NAME})
		ENDIF(MSVC)
ENDIF()
add_executable(mainwindow main.cpp mainwindow.cpp mainwindow.h testAddMenuItem.hpp testAddMenuItem.cpp mainwindow.ui icon.qrc)
target_link_libraries(mainwindow PRIVATE Qt5::Core Qt5::Gui Qt5::Widgets)
target_link_libraries(mainwindow PRIVATE Controls)
target_link_libraries(mainwindow PRIVATE Filemenubar)
target_link_libraries(mainwindow PRIVATE QuickAccessToolBar)
